//
//  ChatTableView.h
//  供销宝
//
//  Created by poweruser on 2017/5/17.
//  Copyright © 2017年 Stone.Sun. All rights reserved.
//

#import "BaseNormalTableView.h"
#import "ChatMessage.h"
#import "ChatProtocol.h"
#import "RecentChat.h"

@interface ChatTableView : BaseNormalTableView

@property (nonatomic,strong) NSMutableArray *results;

@property (nonatomic,strong) ChatProtocol *chatProtocol;

@property (nonatomic,strong) RecentChat *rcChat;

@property (nonatomic,strong) NSString *friendPic;

@property (nonatomic,strong) NSString *fromID;

@property (nonatomic,copy) dispatch_block_t scrollWillBeginDragging;

@property (nonatomic,copy) void(^imageClickBlock)(ChatMessage *);

- (void)reloadTable:(BOOL)animated;

- (void)downBottom:(BOOL)animated;

- (void)insertLastMessage;

//定位到具体位置
- (void)locateToSpecificPosition:(NSInteger)location;

@end
